<load href="__PUBLIC__/{:UIKIT}/css/components/datepicker.almost-flat.min.css"/> 
<load href="__PUBLIC__/{:UIKIT}/js/components/datepicker.min.js"/> 
<load href="__PUBLIC__/{:UIKIT}/js/components/lightbox.min.js"/> 
<notempty name="Think.get.gen_csv">
<p>
	<a class="uk-button uk-button-primary uk-width-1-1" href="__CONTROLLER__/downloadCsv">Download CSV file</a>
</p>	
</notempty>
<form class="uk-form" method="GET" action="__CONTROLLER__/index">
    <div class="uk-grid">
		<div class="uk-width-1-4">#:<input type="text" name="order_id" placeholder="" class="uk-width-1-1"></div>
        <div class="uk-width-1-4">IPS#:<input type="text" name="ips_id" placeholder="" class="uk-width-1-1"></div>
		 <div class="uk-width-1-4">商户#:<input type="text" name="mh_oid" placeholder="" class="uk-width-1-1"></div>
	    <div class="uk-width-1-4">信用卡类型:
		<select name="card_type">
		<option value="">--</option>
		<volist name=":creditcardList()" id="vo">
		<option value="{$vo}">{$vo}</option>
		</volist>
		</select>
		</div>
        <div class="uk-width-1-4">状态:<select name="order_status">
		<option value="">--</option>
<volist name="Think.lang.order_status" id="vo">		
		<option value="{$key}">{$vo}</option>
 </volist>		
		</select>
		</div>
		 <div class="uk-width-1-4">起始时间:<input type="text" name="order_time_start"  data-uk-datepicker="{format:'YYYY-MM-DD'}" placeholder="" class="uk-width-1-1"></div>
		  <div class="uk-width-1-4">结束时间:<input type="text" name="order_time_end"  data-uk-datepicker="{format:'YYYY-MM-DD'}" placeholder="" class="uk-width-1-1"></div>
		   <div class="uk-width-1-4">商户ID:<input type="text" name="order_mid" placeholder="" class="uk-width-1-1"></div>
		    <div class="uk-width-1-4">网站ID:<input type="text" name="order_siteid" placeholder="" class="uk-width-1-1"></div>
			 <div class="uk-width-1-4">顾客邮箱:<input type="text" name="bill_email" placeholder="" class="uk-width-1-1"></div>
			  <div class="uk-width-1-4">通道ID:
			  <select name="order_channel">
<option value="">--</option>
<volist name=":getChannelList()" id="vo">
<option value="{$vo.cn_id}" <eq name="vo.cn_id" value="$site_visa">selected</eq>>{$vo.cn_id}-{$vo.cn_name}-{$vo.cn_remark}</option>
</volist>
</select>
			  </div>
			   <div class="uk-width-1-4">订单金额:<input type="text" name="order_amount" placeholder="" class="uk-width-1-1"></div>
			    <div class="uk-width-1-4">来源URL:<input type="text" name="order_source_url" placeholder="" class="uk-width-1-1"></div>
				 <div class="uk-width-1-4">顾客名:<input type="text" name="bill_firstname" placeholder="" class="uk-width-1-1"></div>
				  <div class="uk-width-1-4">顾客姓:<input type="text" name="bill_lastname" placeholder="" class="uk-width-1-1"></div>
				  <div class="uk-width-1-4">顾客电话:<input type="text" name="bill_phone" placeholder="" class="uk-width-1-1"></div>
    </div>
 <div class="uk-width-1-4"><p><br/><label><input type="checkbox" name="test_flag" >不看测试订单</label>
 <label><input type="checkbox" name="gen_csv">生成CSV文件</label></p></div>
	<p>
	<include>
<button type="submit" class="uk-button uk-button-danger">搜索</button>
</p>
</form>